import request from '@/utils/request'

export function index(query) {
  return request({
    url: '/main/order/index',
    method: 'get',
    params: query
  })
}

export function statistics(query) {
  return request({
    url: '/main/order/statistics',
    method: 'get',
    params: query
  })
}

export function detail(query) {
  return request({
    url: '/main/order/detail',
    method: 'get',
    params: query
  })
}

export function verification(data) {
  return request({
    url: '/main/order/verification/' + data,
    method: 'put',
  })
}

export function excelList(query) {
  return request({
    url: '/main/order/excel',
    method: 'get',
    params: query
  })
}
